package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "report_info")
public class ReportInfo {
	@Id
	@Column(name = "report_id")
	private Long reportId;

	@Column(name = "report_name")
	private String reportName;

	@Column(name = "report_icon")
	private String reportIcon;

	@Column(name = "sys_id")
	private Long sysId;

	@Column(name = "display_order")
	private Integer displayOrder;

	@Column(name = "datasource_id")
	private Integer datasourceId;

	@Column(name = "report_sql")
	private String reportSql;
	
	@Column(name = "delete_flag")
	private Integer deleteFlag;

	@Column(name = "group_id")
	private Long groupId;

	@Transient
	private String groupName;

	public Long getReportId() {
		return reportId;
	}

	public void setReportId(Long reportId) {
		this.reportId = reportId;
	}

	public String getReportName() {
		return reportName;
	}

	public void setReportName(String reportName) {
		this.reportName = reportName;
	}

	public String getReportIcon() {
		return reportIcon;
	}

	public void setReportIcon(String reportIcon) {
		this.reportIcon = reportIcon;
	}

	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	public Integer getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Integer getDatasourceId() {
		return datasourceId;
	}

	public void setDatasourceId(Integer datasourceId) {
		this.datasourceId = datasourceId;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getReportSql() {
		return reportSql;
	}

	public void setReportSql(String reportSql) {
		this.reportSql = reportSql;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	
	

}